package com.rp.configure.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rp.configure.entity.Operation;
import com.rp.configure.mapper.OperationMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rp.configure.service.OperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author vicente
 * @since 2021-07-16
 */
@Service
public class OperationServiceImpl extends ServiceImpl<OperationMapper, Operation> implements OperationService {
    @Autowired
    OperationMapper operationMapper;

    @Override
    public IPage<Operation> listAddAgreeName(Page<Operation> operationPage, String userId, QueryWrapper<Operation> queryWrapper) {
        return operationMapper.listAddAgreeName(operationPage, userId,queryWrapper);
    }
}
